<?php get_header(); ?>

	<!-- content-wrap starts here -->
	<div id="content-wrap"><div id="content">	 
	
	<div id="main">		
		
	<h2>Risultato della Ricerca</h2>
	<?php if (have_posts()) : ?>
				
			<?php while (have_posts()) : the_post(); ?>
			
				<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link a <?php the_title(); ?>"><?php the_title(); ?></a></h3>
				<small><?php the_time('l, F jS, Y') ?></small>

				<p class="comments">Pubblicato in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('Nessun Commento &#187;', '1 Commento &#187;', '% Commenti &#187;'); ?></p>

		<?php endwhile; ?>

		<div class="navigation">
			<div class="alignleft"><?php next_posts_link('&laquo; Precedenti') ?></div>
			<div class="alignright"><?php previous_posts_link('Successivi &raquo;') ?></div>
		</div>

	<?php else : ?>

		<p>Non ho trovato nulla. Vuoi provare una nuova ricerca?</p>
		<?php include (TEMPLATEPATH . '/searchform.php'); ?>

	<?php endif; ?>
										
		</div>
		
<?php get_sidebar(); ?>

	<!-- content-wrap ends here -->		
	</div></div>

<?php get_footer(); ?>